home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / fcfgw40s.zip / PROBOARD.H < prev    next >
C/C++ Source or Header  |  1996-04-15  |  4KB  |  175 lines

  1. // this is the file with all structures used
  2. // by FileCFG to work in the ProBoard environment
  3. #ifndef __PROBOARD_H
  4. #define __PROBOARD_H
  5.  
  6. typedef unsigned char  uchar;
  7. typedef unsigned short ushort;
  8. typedef unsigned long  ulong;
  9. typedef unsigned char  TTime[3];
  10. typedef unsigned char  TFrame[7][6];
  11.  
  12. #pragma pack(1)
  13.  
  14. ///////////////////////////////////////////////
  15. // File area configuration: FILECFG.PRO
  16. ///////////////////////////////////////////////
  17. struct TFileArea{
  18.     char   name[80];
  19.     char   listpath[80];
  20.     char   filepath[80];
  21.     ushort level;       
  22.     ulong  flags;       
  23.     uchar  copyLocal;   
  24.     short  maxfiles;
  25.     short  maxkb;
  26.     uchar  notops;
  27.     uchar  free;
  28.     uchar  groups[4];
  29.     uchar  allGroups;
  30.     uchar  minAge;
  31.     ulong  flagsNot;
  32.     uchar  dateFormat;
  33.     char   extra[2];
  34. };
  35.  
  36. ///////////////////////////////////////////////
  37. // File group configuration: FGROUPS.PB
  38. ///////////////////////////////////////////////
  39. struct TFileGroup{
  40.     char   name[80];
  41.     ushort level;
  42.     ulong  flags;
  43.     ulong  flagsNote;
  44.     char   extra[10];
  45. };
  46.  
  47. typedef TFileGroup TMesgGroup;
  48.  
  49. ///////////////////////////////////////////////
  50. // The filebase index: FILESIDX.PB
  51. ///////////////////////////////////////////////
  52. struct TFileIndex{
  53.     char   name[13];
  54.     ushort area;
  55. };
  56.  
  57. ///////////////////////////////////////////////
  58. // Main system configuration: CONFIG.PRO
  59. ///////////////////////////////////////////////
  60. struct TProConfig{
  61.     char   shellmsg[81];
  62.     char   sysopname[36];
  63.     char   txtpath[61];
  64.     char   mnupath[61];
  65.     char   msgpath[61];
  66.     char   uploadpath[61];
  67.     char   editorname[61];
  68.     ushort newuserlevel;
  69.     short  newuserloglevel;
  70.     ulong  newuserflags;
  71.     short  max_passinput;
  72.     short  min_passlength;
  73.     short  inactivity_time;
  74.     short  max_sysop_pages;
  75.     short  pagebell_length;
  76.     short  mailcheck;
  77.     short  europe;
  78.     short  numnodes;
  79.     uchar  allowansi;
  80.     uchar  allowavatar;
  81.     short  discrete;
  82.     short  askphone;
  83.     short  allowoneushort;
  84.     ushort crashlevel;
  85.     ulong  crashflags;
  86.     ushort attachlevel;
  87.     ulong  attachflags;
  88.     short  allowmsgupload;
  89.     short  allowstacking;
  90.     TTime  page_start;
  91.     TTime  page_end;
  92.     short  handshaking;
  93.     short  allowalias;
  94.     short  loglocal;
  95.     short  doswap;
  96.     char   originline[61];
  97.     char   nodelistdir[61];
  98.     char   sysopkeys[10][60];
  99.     TTime  dl_start;
  100.     TTime  dl_end;
  101.     short  uploadspace;
  102.     char   pvtuploadpath[61];
  103.     char   quotestring[6];
  104.     uchar  fastmode;
  105.     uchar  extra_uchar_1;
  106.     uchar  killsent;
  107.     uchar  multiline;
  108.     uchar  egamode;
  109.     uchar  showuserinfo;
  110.     char   pexpath[61];
  111.     uchar  allowquicklogin;
  112.     uchar  suspendmsgtime;
  113.     short  securityboard;
  114.     uchar  pwdmessages;
  115.     uchar  extra_uchar_2;
  116.     char   bbsname[36];
  117.     char   pwdchar;
  118.     short  tb_maxtimedeposit;
  119.     short  tb_maxkbdeposit;
  120.     short  tb_maxtimewithdrawal;
  121.     short  tb_maxkbwithdrawal;
  122.     short  usage_days;
  123.     char   systempwd[16];
  124.     uchar  usesystempwd;
  125.     uchar  askbirthdate;
  126.     short  binlogdays;
  127.     uchar  binloglocal;
  128.     short  pageArea;
  129.     uchar  indexfiles;
  130.     uchar  checkdupes;
  131.     uchar  killdupes;
  132.     uchar  ignore_ext;
  133.     char   RIPpath[61];
  134.     char   iconspath[61];
  135.     char   location[36];
  136.     char   phone[26];
  137.     char   QWKid[9];
  138.     ushort IObuffersize;
  139.     TFrame pagingHours;
  140.     char   defaultLanguage[9];
  141.     uchar  addUploaderName;
  142.     TFrame downloadHours;
  143.     uchar  askdataphone;
  144.     uchar  askfaxphone;
  145.     uchar  askaddress;
  146.     uchar  asksex;
  147.     uchar  askdateformat;
  148.     uchar  askstate;
  149.     uchar  askcountry;
  150.     short  fuzzyRate;
  151.     uchar  hidePassushort;
  152.     uchar  valConfirm;
  153.     char   extra_char_1[17];
  154.     char   extChat[81];
  155.     char   virScanCommand[61];
  156.     uchar  virScanType;
  157.     char   virScanSemaphore[13];
  158.     uchar  listColorTag;
  159.     uchar  listColorFileName;
  160.     uchar  listColorSize;
  161.     uchar  listColorDate;
  162.     uchar  listColorCounter;
  163.     uchar  listColorDesc;
  164.     uchar  listColorSeperator;
  165.     uchar  listColorMissing;
  166.     uchar  hideFileCounter;
  167.     uchar  disableRIP;
  168.     char   extra_char_2[81];
  169.     uchar  virScanFailedAction;
  170.     ushort virScanFailedArea;
  171.     char   extra[5];
  172. };
  173.  
  174. #pragma pack ()
  175. #endif